//
//  NativeAlbum.h
//  YouYiKuProject
//
//  Created by xue on 2019/1/10.
//  Copyright © 2019年 xuezi. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RootWebViewController.h"

@class NativeAlbum;

#define  WXAUTH [WXAuth sharedInstance]

@protocol NativeAlbumDelegate <NSObject>

@optional
    
- (void)nativeAlbumWarn:(NativeAlbum *)nativeAlbum;

- (void)nativeAlbum:(NativeAlbum *)nativeAlbum nativeAlbumInfo:(NSDictionary*)info;
- (void)nativeAlbum:(NativeAlbum *)nativeAlbum nativeVidioInfo:(NSDictionary*)info;

@end

@interface NativeAlbum : NSObject
@property (nonatomic, assign) id<NativeAlbumDelegate> delegate;
@property (nonatomic, assign) NSInteger maxNum;
@property (strong, nonatomic) NSMutableArray *zdxArray;


//全局管理对象
+ (NativeAlbum *)sharedInstance;
/////访问图片列表
-(void)getPicImageList:(RootWebViewController*)root;
///访问本地视频
-(void)getVideoList:(RootWebViewController*)root;
@end
